
export async function someAction (context, payload) {
  await new Promise((resolve, reject) => {
    setTimeout(() => {
      context.commit('someMutation', payload)
      resolve('')
    }, 2000)
  })
  alert(context.state.count)
}
